﻿using System;
using System.Html.DOM.CSS;

namespace RexToy.UI.Controls
{
    public class FixedHeaderBar : HeaderBar
    {
        public FixedHeaderBar(string text)
            : base(text)
        {
            //Note:style = "position:fixed; bottom:0; width:100%"        
            var style = this.__domNode.GetStyle();
            style.Position = Position.Fixed;
            style.Top = "0px";
            style.Width = "100%";
            style.ZIndex = 5;
        }
    }
}
